<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .navbar {
display: flex;
justify-content: space-between;
align-items: center; 
padding: 0 20px;
height: 60px;
background: #fff;
box-shadow: 0 2px 4px #eee;
}
.links {
display: flex; 
gap: 20px; 
}
.form-group {
margin-bottom: 1.5rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: #333;
}
#phone {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 1rem;
box-sizing: border-box;
transition: border-color 0.3s, box-shadow 0.3s;
}
#phone:invalid {
border-color: #ff4444;
box-shadow: 0 0 2px rgba(255, 68, 68, 0.2);
}
#phone:focus {
outline: none;
border-color: #2196F3;
box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}
button {
width: 100%;
padding: 0.8rem;
border: none;
border-radius: 4px;
background-color: #2196F3;
color: white;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #1976D2;
}
.form-container {
max-width: 400px;
padding: 2rem;
border: 1px solid #eee;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.page-container {
height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
.form-container {
flex-grow: 1;
}
</style>


<body>
    <nav class="navbar">
        <div class="logo">Logo</div>
        <div class="links">
        <a href="#">首页</a>
        <a href="#">产品</a>
        <a href="#">关于</a>
        </div>
        <div class="btn">登录</div>
        </nav>
</body>
</html>